﻿@model SPagedList<Dyd.BaseService.ServiceCenter.Domain.Model.tb_error>

<table style="width:100%;" class="hover2" cellspacing="0" cellspadding="0" border="0">
    <tr>
        <th style="width: 5%">@Html.DisplayNameFor(model => model.id)</th>
        <th style="width: 15%">@Html.DisplayNameFor(model => model.servicename)</th>
        <th style="width: 10%">@Html.DisplayNameFor(model => model.logtype)</th>
        <th style="width: 35%">@Html.DisplayNameFor(model => model.msg)</th>
        <th style="width: 20%">@Html.DisplayNameFor(model => model.createtime)</th>

        <th style="width: 15%">操作</th>
    </tr>

    @foreach (var item in Model)
    {
        <tr data-id="@item.id">
            <td>
                @item.id
            </td>
            <td>
                @item.servicename
            </td>
            <td>
                @item.logtype
            </td>
            <td>
                @item.msg
            </td>
            <td>
                @item.createtime
            </td>

            <td>
                <a class="deleteItem" data-operate="deleteItem" href="#">删除</a>
            </td>
        </tr>
    }
</table>
<div class="pagination">
    <div class="total fl">共<em>@Model.TotalItemCount</em>条记录</div>
    <div class="pagination-pages">
        @Html.SPager(Model, "pno", "pager_page", "#ajaxList", "#ajaxForm")
    </div>
</div>